package com.sh.data.engine.application.model.request.management;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema
public class UserProjectSaveRequest {

    @Valid
    @NotNull
    @Schema(description = "项目实例信息", requiredMode = Schema.RequiredMode.REQUIRED)
    private SaveProjectRequest project;

    @Valid
    @NotNull
    @Schema(description = "存储实例信息", requiredMode = Schema.RequiredMode.REQUIRED)
    private StorageSaveRequest storage;
}
